# This PKGBUILD was autocreated.  See https://xtermin.us/archperl/ for details
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-test-differences
pkgver=0.71
pkgrel=1
pkgdesc="Perl/CPAN Module Test::Differences"
arch=(any)
depends=(perl-text-diff)
url="https://search.cpan.org/dist/Test-Differences"
license=("GPL" "PerlArtistic")
source=("https://search.cpan.org/CPAN/authors/id/D/DC/DCANTRELL/Test-Differences-$pkgver.tar.gz")
sha256sums=('cac16a56cd843b0809e5b49199d60d75a8dbad7ca9a08380dbf3f5cc3aaa38d9')

build() {
  cd "$srcdir"/Test-Differences-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor  
  make 
}
package() {
  cd "$srcdir"/Test-Differences-$pkgver
  make install DESTDIR="$pkgdir" 
  find "$pkgdir" -name '.packlist' -delete
  find "$pkgdir" -name '*.pod' -delete
}
